//package org.clever.gateway.config;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.cloud.gateway.route.RouteLocator;
//import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * 作者： lzw<br/>
// * 创建时间：2017-12-04 10:37 <br/>
// */
//@Configuration
//@Slf4j
//public class BeanConfiguration {
//
//    @Bean
//    public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
//        return builder.routes()
//                //basic proxy
//                .route(r -> r.path("/baidu").uri("http://baidu.com:80/"))
//                .build();
//    }
//}
